package com.xbongbong.saas.domain.dao;

import com.xbongbong.pro.domain.entity.ActivityEntity;
import com.xbongbong.saas.domain.entity.EsignSetEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 签署设置
 * 创建时间 2020/6/20 2:06 PM
 * 修改时间 2020/6/20 2:06 PM
 * @author chy
 */
@Repository
@Mapper
public interface EsignSetDao {
    Integer insert(EsignSetEntity esignSet);

    Integer update(EsignSetEntity esignSet);

    Integer deleteByKey(@Param("key") Long key);

    EsignSetEntity getByKey(@Param("key") Long key);

    List<EsignSetEntity> findEntitys(@Param("param") Map<String, Object> param);

    Integer getEntitysCount(@Param("param") Map<String, Object> param);

    EsignSetEntity getByFormId(@Param("corpid") String corpid, @Param("formId") Long formId);
}
